package com.sendinfo.alipay;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="alipay")
public class AlipayResultXml {
	public static final String TRADE_NOT_EXIST="TRADE_NOT_EXIST";//该笔交易不存在
	public static final String ILLEGAL_ARGUMENT="ILLEGAL_ARGUMENT";//外部交易号不能为空
	public static final String TRADE_STATUS_NOT_AVAILD ="TRADE_STATUS_NOT_AVAILD";//当前状态不允许关闭交易
	public static final String GENERAL_FAILTURE= "GENERAL_FAILTURE";//关闭交易其他异常
	public static final String SUCCESS = "T";	//关闭成功
	public static final String ERROR = "F";		//关闭失败
	private String is_success;
	private String error;
	@XmlElement
	public String getIs_success() {
		return is_success;
	}
	public void setIs_success(String isSuccess) {
		is_success = isSuccess;
	}
	@XmlElement
	public String getError() {
		return error;
	}
	public void setError(String error) {
		this.error = error;
	}
	
}
